<template>
  <view :class="s.index">
    <content-item></content-item>
    <footer-item></footer-item>
  </view>
</template>

<script>
import {defineComponent, ref} from 'vue'
import footerItem from "./components/footerItem"
import contentItem from "./components/contentItem"
export default defineComponent({
  name: 'Index',
  components: {
    footerItem,
    contentItem
  },
  setup(){
    let num = ref(1)

    return {
      num,
    }
  }
})
</script>

<style lang="scss" module="s">
.index {
  width: 750rpx;
  height: 100vh;
  background-color: #eeeeee;
  font-family: "Avenir", Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-align: center;
  color: #2c3e50;
}
</style>
